{% extends 'database/base.html' %}
{% load my_tags %}

{% block title_content %}订餐信息{% endblock %}

{% block body_content %}
<h1 class="display-1">订餐信息</h1>
  <form action="{% url 'delivery_database:normal_user_food_order' id pk %}" method="post">
    {% csrf_token %}
    <div class="row mb-3">
    <label>订餐数量：</label>
    <input type="number" name="amount" class="form-control">
    </div>
      <input type="text" name="id" style="display:none" value="{{ id }}">
        <input type="text" name="uid" style="display:none" value="{{ pk }}">
    <button class="btn btn-primary" type="submit">订餐</button>
      <a href="{% url 'delivery_database:normal_user_food_list' id %}" class="btn btn-primary">返回</a>
    </form>
{% endblock %}